package com.henghai.zhenxuan.data.api;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.BodyType;

/**
 * 领养宠物
 */
public class AdoptPetApi implements IRequestApi, IRequestType {
    private String petId;

    public AdoptPetApi(String petId) {
        this.petId = petId;
    }

    @NonNull
    @Override
    public String getApi() {
        return "/pet/userPetAdoption/app";
    }

    @NonNull
    @Override
    public BodyType getBodyType() {
        return BodyType.JSON;
    }
}
